//
//  MyCenterCell.m
//  Yihubang
//
//  Created by hyu on 16/7/25.
//  Copyright © 2016年 jinghao. All rights reserved.
//

#import "MyCenterCell.h"
#import "MineMenuModel.h"
@implementation MyCenterCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void) bindViewModel:(MineMenuModel *)model{
    self.icon.image=[UIImage imageNamed:model.icon];
    self.name.text =model.title;
}
@end
